{temp('admin/head')}
	<link rel="stylesheet" href="{$adstyle}/js/datatables/dataTables.bootstrap.css">
	<script charset="utf-8" src="{$adstyle}/editor/kindeditor.js"></script>
	<script charset="utf-8" src="{$adstyle}/editor/lang/zh_CN.js"></script>
	<script>
	// var editor;
     KindEditor.ready(function(K) {
         editor = K.create('#editor',{
        	 height:"600px",	
        	 items:[''],
        		filterMode : false,
        	    readonlyMode:true
         });
        // editor.readonly(false);
     });
	</script> 
</head>

<body class="page-body">	
		{temp('admin/left')}
			{temp('admin/top')}
			
			<!-- Basic Setup -->
			<div class="panel panel-default">
				<div class="panel-heading">
					<span class="panel-title" style="font-size:16px;">{$tit}</span>
					<span style="font-size:16px;margin-left:7%;color:#999"> 模板名称： {$cz['temp']}</span>
					<span style="font-size:16px;margin-left:7%;color:#999"> 文件名： {$filename}</span>
					<span style="font-size:16px;margin-left:7%;color:#999"> 路径：{$luj} </span>
					<div class="panel-options">
					<span data-toggle="reload" onclick="sx()" style="cursor:pointer;">
						<i class="fa-rotate-right"></i>
						刷新
					</span>
					</div>
				</div>
				
				<div class="panel-body">
					<form role="form" class="form-horizontal">
						<div class="form-group">
						<textarea id="editor" name="editor" class="form-control"  cols="5" id="field-2">{temp($me)}</textarea>
						</div>
						<div class="form-group-separator"></div>
							<div class="form-group">
								<div class="col-sm-10">
								<a  href="{$_url}/admin/?act=tempgl&met=temp_list&id={$id}{$gnpd}" class="btn btn-info btn-single pull-right" style="color:#fff">
									返回
								</a>
							</div>
						</div>
					</form>
					<input type="hidden" value="{prt(base64_encode($pathc))}" id="pas"/>
				</div>
			</div>
		{temp('admin/foot')}
	<!-- Bottom Scripts -->
	<script src="{$adstyle}/js/bootstrap.min.js"></script>
	<script src="{$adstyle}/js/TweenMax.min.js"></script>
	<script src="{$adstyle}/js/resizeable.js"></script>
	<script src="{$adstyle}/js/joinable.js"></script>
	<script src="{$adstyle}/js/xenon-api.js"></script>
	<script src="{$adstyle}/js/xenon-toggles.js"></script>
	<script src="{$adstyle}/js/datatables/js/jquery.dataTables.min.js"></script>

	<!-- Imported scripts on this page -->
	<script src="{$adstyle}/js/datatables/dataTables.bootstrap.js"></script>
	<script src="{$adstyle}/js/datatables/yadcf/jquery.dataTables.yadcf.js"></script>
	<script src="{$adstyle}/js/datatables/tabletools/dataTables.tableTools.min.js"></script>
	
	<!-- JavaScripts initializations and stuff -->
	<script src="{$adstyle}/js/xenon-custom.js"></script> 
	<script>
	function sx(){   //刷新
		window.location.href='';
	}
	</script>
</body>
</html>